package com.dzsw.javabase.modifier.pkg2;

import com.dzsw.javabase.modifier.pkg1.Class1;
import com.dzsw.javabase.modifier.pkg1.ITest;

import java.util.List;

public class ModifierMain {

    public static void main(String[] args) {
        ITest iTest = new ITest() {
            @Override
            public List<String> list() {
                return List.of();
            }
        };

        iTest.list();
        Class1 c1 = new Class1();
        c1.publicProperty = "public";
        c1.publicMethod();
    }
}
